import React from 'react'
import ReactDOM from 'react-dom/client'
import { HashRouter as Router } from 'react-router-dom'
import App from './App.jsx'
import './index.css'

React.globalcss = {
  padding: '0 20px 20px'
}
React.updateobj = {
  updates: 0,//涉及修改要监听更新的内容，一定要函数开头位置先变为1
  updateName: ''//涉及更新的内容
}

ReactDOM.createRoot(document.getElementById('root')).render(
  // <React.StrictMode>
  <Router>
    <App />
  </Router>
  // </React.StrictMode>,
)

//最低ie9的支持